home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 46 / PC Gamer IT CD 46 1-2.iso / ELINK / MSIE540 / VBSCRIPT.CAB / vbscript.inf < prev    next >
Windows Setup INFormation  |  1999-03-18  |  7KB  |  206 lines

  1.  
  2. [version]
  3. signature="$CHICAGO$"
  4. AdvancedINF=2.5
  5.  
  6. [DefaultInstall]
  7. RequiredEngine=Setupapi,%BadSetupVer%
  8. ComponentName="IE5BAKEX"
  9. ComponentVersion=5.0
  10. CustomDestination=MSIExploreDestinationSection
  11. CopyFiles=SysDir.Files,WinDir.Files,Command.Files,Inf.Install
  12. AddReg=!VB.Uninst.Reg,Register.AddReg,AddReg.Extensions
  13. RegisterOCXs=RegisterOCX.VB
  14. BackupPath=%49000%\%UninstallData%
  15. PerUserInstall=PUI
  16.  
  17. [DefaultInstall.NT]
  18. RequiredEngine=Setupapi,%BadSetupVer%
  19. ComponentName="IE5BAKEX"
  20. ComponentVersion=5.0
  21. CustomDestination=MSIExploreDestinationSection
  22. CopyFiles=SysDir.Files,SysDir.Files.NT,Inf.Install
  23. AddReg=!VB.Uninst.Reg,Register.AddReg,AddReg.Extensions.NT
  24. RegisterOCXs=RegisterOCX.VB
  25. BackupPath=%49000%\%UninstallData%
  26. PerUserInstall=PUI
  27.  
  28. [PUI]
  29. DisplayName=%DisplayDesc%
  30. ComponentID=MSVBScript
  31. GUID={4f645220-306d-11d2-995d-00c04f98bbc9} 
  32. Version="5,0,3,10"
  33. Locale=%Locale%
  34. IsInstalled=1
  35. RollbackUninstall=1
  36.  
  37. [MSIExploreDestinationSection]
  38. 49000=MSIExploreLDIDSection,5
  39.  
  40. [MSIExploreLDIDSection]
  41. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE","Path",,"%24%\%LProgramF%\%LMSIE4%"
  42.  
  43. [SourceDisksNames]
  44. 55=%DisplayDesc%,,0
  45.  
  46. [DestinationDirs]
  47. Inf.Install      =17
  48. SysDir.Files     =11
  49. SysDir.Files.NT  =11
  50. WinDir.Files     =25
  51. Command.Files    =25,Command
  52.  
  53. [SourceDisksFiles]
  54. vbscript.dll=55
  55. unie5bak.inf=55
  56. vbscript.inf=55
  57. scrrun.dll  =55
  58. cscript.exe =55
  59. wscript.exe =55
  60. wshext.dll  =55
  61. wshom.ocx   =55
  62.  
  63. [SysDir.Files]
  64. wshom.ocx,,,33
  65. wshext.dll,,,33
  66. vbscript.dll,,,33
  67. scrrun.dll,,,33
  68.  
  69. [SysDir.Files.NT]
  70. wscript.exe,,,33
  71. cscript.exe,,,33
  72.  
  73. [WinDir.Files]
  74. wscript.exe,,,33
  75.  
  76. [Command.Files]
  77. cscript.exe,,,33
  78.  
  79. [Inf.Install]
  80. unie5bak.inf
  81.  
  82. [RegisterOCX.VB]
  83. %11%\wshom.ocx
  84. %11%\wshext.dll
  85. %11%\vbscript.dll
  86. %11%\scrrun.dll
  87.  
  88. [Register.AddReg]
  89. HKLM,"%REG_WSH%\Settings","DisplayLogo",,"1"
  90. HKLM,"%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
  91.  
  92. [AddReg.Extensions]
  93. ; .WSH
  94. HKCR,".WSH","",,"WSHFile"
  95. HKCR,"WSHFile","",,"%DESC_DOTWSH%"
  96. HKCR,"WSHFile","IsShortcut",,"Yes"
  97. HKCR,"WSHFile\DefaultIcon","",,"%25%\WScript.exe,1"
  98. HKCR,"WSHFile\Shell\Open","",,"%MENU_OPEN%"
  99. HKCR,"WSHFile\Shell\Open\Command",,,"%25%\WScript.exe ""%1"" %*"
  100. HKCR,"WSHFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  101. HKCR,"WSHFile\Shell\Open2\Command","",,"%25%\Command\CScript.exe ""%1"" %*"
  102. HKCR,"WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  103.  
  104. ; .VBS
  105. HKCR,".VBS","",,"VBSFile"
  106. HKCR,"VBSFile","",,"%DESC_DOTVBS%"
  107. HKCR,"VBSFile\DefaultIcon","",,"%25%\WScript.exe,2"
  108. HKCR,"VBSFile\ScriptEngine","",,"VBScript"
  109. HKCR,"VBSFile\Shell\Open","",,"%MENU_OPEN%"
  110. HKCR,"VBSFile\Shell\Open\Command","",,"%25%\WScript.exe ""%1"" %*"
  111. HKCR,"VBSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  112. HKCR,"VBSFile\Shell\Open2\Command","",,"%25%\Command\CScript.exe ""%1"" %*"
  113. HKCR,"VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  114. HKCR,"VBSFile\Shell\Edit\Command","",,"%25%\Notepad.exe %1"
  115. HKCR,"VBSFile\Shell\Print","",,"%MENU_PRINT%"
  116. HKCR,"VBSFile\Shell\Print\Command","",,"%25%\Notepad.exe /p %1"
  117. HKCR,"VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  118.  
  119. ; .JS
  120. HKCR,".JS","",,"JSFile"
  121. HKCR,"JSFile","",,"%DESC_DOTJS%"
  122. HKCR,"JSFile\DefaultIcon","",,"%25%\WScript.exe,3"
  123. HKCR,"JSFile\ScriptEngine","",,"JScript"
  124. HKCR,"JSFile\Shell\Open","",,"%MENU_OPEN%"
  125. HKCR,"JSFile\Shell\Open\Command","",,"%25%\WScript.exe ""%1"" %*"
  126. HKCR,"JSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  127. HKCR,"JSFile\Shell\Open2\Command","",,"%25%\Command\CScript.exe ""%1"" %*"
  128. HKCR,"JSFile\Shell\Edit","",,"%MENU_EDIT%"
  129. HKCR,"JSFile\Shell\Edit\Command","",,"%25%\Notepad.exe %1"
  130. HKCR,"JSFile\Shell\Print","",,"%MENU_PRINT%"
  131. HKCR,"JSFile\Shell\Print\Command","",,"%25%\Notepad.exe /p %1"
  132. HKCR,"JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  133.  
  134. [AddReg.Extensions.NT]
  135. ; .WSH
  136. HKCR,".WSH","",,"WSHFile"
  137. HKCR,"WSHFile","",,"%DESC_DOTWSH%"
  138. HKCR,"WSHFile","IsShortcut",,"Yes"
  139. HKCR,"WSHFile\DefaultIcon","",,"%11%\WScript.exe,1"
  140. HKCR,"WSHFile\Shell\Open","",,"%MENU_OPEN%"
  141. HKCR,"WSHFile\Shell\Open\Command",,,"%11%\WScript.exe ""%1"" %*"
  142. HKCR,"WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
  143. HKCR,"WSHFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
  144. HKCR,"WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  145.  
  146. ; .VBS
  147. HKCR,".VBS","",,"VBSFile"
  148. HKCR,"VBSFile","",,"%DESC_DOTVBS%"
  149. HKCR,"VBSFile\DefaultIcon","",,"%11%\WScript.exe,2"
  150. HKCR,"VBSFile\ScriptEngine","",,"VBScript"
  151. HKCR,"VBSFile\Shell\Open","",,"%MENU_OPEN%"
  152. HKCR,"VBSFile\Shell\Open\Command","",,"%11%\WScript.exe ""%1"" %*"
  153. HKCR,"VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  154. HKCR,"VBSFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
  155. HKCR,"VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  156. HKCR,"VBSFile\Shell\Edit\Command","",,"%11%\Notepad.exe %1"
  157. HKCR,"VBSFile\Shell\Print","",,"%MENU_PRINT%"
  158. HKCR,"VBSFile\Shell\Print\Command","",,"%11%\Notepad.exe /p %1"
  159. HKCR,"VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  160.  
  161. ; .JS
  162. HKCR,".JS","",,"JSFile"
  163. HKCR,"JSFile","",,"%DESC_DOTJS%"
  164. HKCR,"JSFile\DefaultIcon","",,"%11%\WScript.exe,3"
  165. HKCR,"JSFile\ScriptEngine","",,"JScript"
  166. HKCR,"JSFile\Shell\Open","",,"%MENU_OPEN%"
  167. HKCR,"JSFile\Shell\Open\Command","",,"%11%\WScript.exe ""%1"" %*"
  168. HKCR,"JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  169. HKCR,"JSFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
  170. HKCR,"JSFile\Shell\Edit","",,"%MENU_EDIT%"
  171. HKCR,"JSFile\Shell\Edit\Command","",,"%11%\Notepad.exe %1"
  172. HKCR,"JSFile\Shell\Print","",,"%MENU_PRINT%"
  173. HKCR,"JSFile\Shell\Print\Command","",,"%11%\Notepad.exe /p %1"
  174. HKCR,"JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  175.  
  176. [!VB.Uninst.Reg]
  177. HKLM,"SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","QuietDisplayName",,%DisplayDesc%
  178. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","QuietUninstallString",,"rundll32 advpack.dll,LaunchINFSectionEx %17%\unie5bak.inf,,,256"
  179. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","RequiresIESysFile",,"5.00"
  180.  
  181. [Strings]
  182. ; Unlocalizable strings
  183. REG_WSH             = "Software\Microsoft\Windows Scripting Host"
  184. REG_APPROVE         = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  185. CLSID_WSHEXT        = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
  186.  
  187. ; Localizable strings
  188. LMSIE4              = "Internet Explorer"
  189. LProgramF           = "Program Files"
  190. BadSetupVer         = "Your system is missing the required Setup engine."
  191. UninstallData       = "Uninstall Information"
  192. DisplayDesc         = "Visual Basic Scripting Support"
  193. Locale              = "EN"
  194.  
  195. DESC_DOTWSH         = "Windows Scripting Host Settings File"
  196. DESC_DOTVBS         = "VBScript Script File"
  197. DESC_DOTJS          = "JScript Script File"
  198. DESC_WSHEXT         = "Shell extensions for Windows Scripting Host"
  199.  
  200. MENU_OPEN           = "&Open"
  201. MENU_CONOPEN        = "Open &with Command Prompt"
  202. MENU_DOSOPEN        = "Open &with MS-DOS Prompt"
  203. MENU_EDIT           = "&Edit"
  204. MENU_PRINT          = "&Print"
  205.  
  206.